package com.ruoyi.eqmonitor.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.domain.OptDeviceRelation;
import com.ruoyi.eqmonitor.dtos.OptDeviceQuantityCountDto;
import com.ruoyi.eqmonitor.dtos.OptReAreaDto;

/**
 * @author ruoyi
 * @date 2022-12-16
 */
public interface OptDeviceRelationMapper extends BaseMapper<OptDeviceRelation>{

    public List<OptDeviceRelation> selectOptDeviceRelationList(OptDeviceRelation optDeviceRelation);

    public OptDeviceRelation selectOptDeviceRelationByDeviceCode(String deviceCode);


    public List<OptReAreaDto> selectOptReArea();

    OptDeviceRelation getByCode(String snCode);

}
